<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/select1DTool.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('select1_d_tool_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">select1DTool.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="select1_d_tool_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#ifndef SELECT_1D_TOOL_H</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#define SELECT_1D_TOOL_H</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="tool_interface_8h.html">pcl/apps/point_cloud_editor/toolInterface.h</a>&gt;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="local_types_8h.html">pcl/apps/point_cloud_editor/localTypes.h</a>&gt;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html">   46</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_select1_d_tool.html">Select1DTool</a> : <span class="keyword">public</span> <a class="code" href="class_tool_interface.html">ToolInterface</a></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html#acec84ebb75d862a2315c1cae82b60b9f">   52</a></span>&#160;    <a class="code" href="class_select1_d_tool.html#acec84ebb75d862a2315c1cae82b60b9f">Select1DTool</a> (<a class="code" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a> selection_ptr, <a class="code" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a> cloud_ptr);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html#a5e4215e4ea0fbac40ea19673c39379ea">   55</a></span>&#160;    <a class="code" href="class_select1_d_tool.html#a5e4215e4ea0fbac40ea19673c39379ea">~Select1DTool</a> ()</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    {</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    }</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordtype">void</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html#aca125086d4d989b1ec68dd26ecc39244">   62</a></span>&#160;    <a class="code" href="class_select1_d_tool.html#aca125086d4d989b1ec68dd26ecc39244">start</a> (<span class="keywordtype">int</span>, <span class="keywordtype">int</span>, <a class="code" href="local_types_8h.html#a3ecbdde19ccb48639e25359e09b9f2ff">BitMask</a>, <a class="code" href="local_types_8h.html#a3ecbdde19ccb48639e25359e09b9f2ff">BitMask</a>)</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    {</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordtype">void</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html#a921dcc9f5822d344f961154e599cebb3">   69</a></span>&#160;    <a class="code" href="class_select1_d_tool.html#a921dcc9f5822d344f961154e599cebb3">update</a> (<span class="keywordtype">int</span>, <span class="keywordtype">int</span>, <a class="code" href="local_types_8h.html#a3ecbdde19ccb48639e25359e09b9f2ff">BitMask</a>, <a class="code" href="local_types_8h.html#a3ecbdde19ccb48639e25359e09b9f2ff">BitMask</a>)</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    {</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    }</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keywordtype">void</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html#a769abdefb97415c793cfb12829ba1197">   89</a></span>&#160;    <a class="code" href="class_select1_d_tool.html#a769abdefb97415c793cfb12829ba1197">end</a> (<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <a class="code" href="local_types_8h.html#a3ecbdde19ccb48639e25359e09b9f2ff">BitMask</a> modifiers, <a class="code" href="local_types_8h.html#a3ecbdde19ccb48639e25359e09b9f2ff">BitMask</a> buttons);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordtype">void</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html#a12c53a87566d9fe54f477cf1e5380d1d">   93</a></span>&#160;    <a class="code" href="class_select1_d_tool.html#a12c53a87566d9fe54f477cf1e5380d1d">draw</a> ()<span class="keyword"> const</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="keyword">    </span>{</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    }</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html#a78509348db40c5bc911ca2a04f5c2463">   99</a></span>&#160;    <a class="code" href="class_select1_d_tool.html#a78509348db40c5bc911ca2a04f5c2463">Select1DTool</a>()</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    {</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;      assert(<span class="keyword">false</span>);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    }</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html#a27e45725fdf23dedc8feb1284d15777b">  105</a></span>&#160;    <a class="code" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a> <a class="code" href="class_select1_d_tool.html#a27e45725fdf23dedc8feb1284d15777b">selection_ptr_</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_select1_d_tool.html#a880e681680c8ad64cf7e526873597223">  108</a></span>&#160;    <a class="code" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a> <a class="code" href="class_select1_d_tool.html#a880e681680c8ad64cf7e526873597223">cloud_ptr_</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;};</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// SELECT_1D_TOOL_H</span></div>
<div class="ttc" id="aclass_select1_d_tool_html"><div class="ttname"><a href="class_select1_d_tool.html">Select1DTool</a></div><div class="ttdef"><b>Definition:</b> select1DTool.h:47</div></div>
<div class="ttc" id="aclass_select1_d_tool_html_a12c53a87566d9fe54f477cf1e5380d1d"><div class="ttname"><a href="class_select1_d_tool.html#a12c53a87566d9fe54f477cf1e5380d1d">Select1DTool::draw</a></div><div class="ttdeci">void draw() const</div><div class="ttdoc">This function does nothing.</div><div class="ttdef"><b>Definition:</b> select1DTool.h:93</div></div>
<div class="ttc" id="aclass_select1_d_tool_html_a27e45725fdf23dedc8feb1284d15777b"><div class="ttname"><a href="class_select1_d_tool.html#a27e45725fdf23dedc8feb1284d15777b">Select1DTool::selection_ptr_</a></div><div class="ttdeci">SelectionPtr selection_ptr_</div><div class="ttdoc">a shared pointer pointing to the selection object</div><div class="ttdef"><b>Definition:</b> select1DTool.h:105</div></div>
<div class="ttc" id="aclass_select1_d_tool_html_a5e4215e4ea0fbac40ea19673c39379ea"><div class="ttname"><a href="class_select1_d_tool.html#a5e4215e4ea0fbac40ea19673c39379ea">Select1DTool::~Select1DTool</a></div><div class="ttdeci">~Select1DTool()</div><div class="ttdoc">Destructor</div><div class="ttdef"><b>Definition:</b> select1DTool.h:55</div></div>
<div class="ttc" id="aclass_select1_d_tool_html_a769abdefb97415c793cfb12829ba1197"><div class="ttname"><a href="class_select1_d_tool.html#a769abdefb97415c793cfb12829ba1197">Select1DTool::end</a></div><div class="ttdeci">void end(int x, int y, BitMask modifiers, BitMask buttons)</div><div class="ttdoc">Select or deselect the point under the mouse using GL's selection facility.</div></div>
<div class="ttc" id="aclass_select1_d_tool_html_a78509348db40c5bc911ca2a04f5c2463"><div class="ttname"><a href="class_select1_d_tool.html#a78509348db40c5bc911ca2a04f5c2463">Select1DTool::Select1DTool</a></div><div class="ttdeci">Select1DTool()</div><div class="ttdoc">Default constructor - object is not default constructable</div><div class="ttdef"><b>Definition:</b> select1DTool.h:99</div></div>
<div class="ttc" id="aclass_select1_d_tool_html_a880e681680c8ad64cf7e526873597223"><div class="ttname"><a href="class_select1_d_tool.html#a880e681680c8ad64cf7e526873597223">Select1DTool::cloud_ptr_</a></div><div class="ttdeci">CloudPtr cloud_ptr_</div><div class="ttdoc">a shared pointer pointing to the cloud object</div><div class="ttdef"><b>Definition:</b> select1DTool.h:108</div></div>
<div class="ttc" id="aclass_select1_d_tool_html_a921dcc9f5822d344f961154e599cebb3"><div class="ttname"><a href="class_select1_d_tool.html#a921dcc9f5822d344f961154e599cebb3">Select1DTool::update</a></div><div class="ttdeci">void update(int, int, BitMask, BitMask)</div><div class="ttdoc">Does nothing for 1D selection.</div><div class="ttdef"><b>Definition:</b> select1DTool.h:69</div></div>
<div class="ttc" id="aclass_select1_d_tool_html_aca125086d4d989b1ec68dd26ecc39244"><div class="ttname"><a href="class_select1_d_tool.html#aca125086d4d989b1ec68dd26ecc39244">Select1DTool::start</a></div><div class="ttdeci">void start(int, int, BitMask, BitMask)</div><div class="ttdoc">Does nothing for 1D selection.</div><div class="ttdef"><b>Definition:</b> select1DTool.h:62</div></div>
<div class="ttc" id="aclass_select1_d_tool_html_acec84ebb75d862a2315c1cae82b60b9f"><div class="ttname"><a href="class_select1_d_tool.html#acec84ebb75d862a2315c1cae82b60b9f">Select1DTool::Select1DTool</a></div><div class="ttdeci">Select1DTool(SelectionPtr selection_ptr, CloudPtr cloud_ptr)</div><div class="ttdoc">Constructor</div></div>
<div class="ttc" id="aclass_tool_interface_html"><div class="ttname"><a href="class_tool_interface.html">ToolInterface</a></div><div class="ttdoc">the parent class of all the select and the transform tool classes</div><div class="ttdef"><b>Definition:</b> toolInterface.h:49</div></div>
<div class="ttc" id="alocal_types_8h_html"><div class="ttname"><a href="local_types_8h.html">localTypes.h</a></div></div>
<div class="ttc" id="alocal_types_8h_html_a3ecbdde19ccb48639e25359e09b9f2ff"><div class="ttname"><a href="local_types_8h.html#a3ecbdde19ccb48639e25359e09b9f2ff">BitMask</a></div><div class="ttdeci">unsigned int BitMask</div><div class="ttdoc">The type for bit masks used for recognizing key pressed by user.</div><div class="ttdef"><b>Definition:</b> localTypes.h:107</div></div>
<div class="ttc" id="alocal_types_8h_html_ab119e5463fbd3af25e93c81bd306ae54"><div class="ttname"><a href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a></div><div class="ttdeci">boost::shared_ptr&lt; Selection &gt; SelectionPtr</div><div class="ttdoc">The type for boost shared pointer pointing to a selection buffer</div><div class="ttdef"><b>Definition:</b> localTypes.h:79</div></div>
<div class="ttc" id="alocal_types_8h_html_ab270fe8bf56ceef23c1c5fbe384c9430"><div class="ttname"><a href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a></div><div class="ttdeci">boost::shared_ptr&lt; Cloud &gt; CloudPtr</div><div class="ttdoc">The type for boost shared pointer pointing to a cloud object</div><div class="ttdef"><b>Definition:</b> localTypes.h:72</div></div>
<div class="ttc" id="atool_interface_8h_html"><div class="ttname"><a href="tool_interface_8h.html">toolInterface.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_9654b8d08f4bba4e84b362c5fd320bee.html">apps</a></li><li class="navelem"><a class="el" href="dir_b812044310263d1df0acdcc34fa78063.html">point_cloud_editor</a></li><li class="navelem"><a class="el" href="dir_e7676f72fdf944a58a9890202aea4fdd.html">include</a></li><li class="navelem"><a class="el" href="dir_f36a0c0a6789487b19709622e8aaedff.html">pcl</a></li><li class="navelem"><a class="el" href="dir_dfd6ef21606ddfa5cd0b7ee0903ae9ec.html">apps</a></li><li class="navelem"><a class="el" href="dir_4eea226eade4b66d41c153c54681c108.html">point_cloud_editor</a></li><li class="navelem"><a class="el" href="select1_d_tool_8h.html">select1DTool.h</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
